for num in range(1, 5):
    print(num)
for num in range(6):
    print(num)

for num in range(1,11,3):
    print(num)